/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mirac
 * Date: 2025-04-18
 * Time: 20:46
 */
public class main {
    public static void chan(int[] arr){
    for(int i = 0; i < arr.length; i++){
        arr[i] = arr[i]*2;
    }
    }
    public static void main(String[] args) {
        int[] arr = {1,2,3,4,5};
        chan(arr);
        for(int i = 0; i < arr.length; i++){
            System.out.print(arr[i]+" ");
        }
    }
}
